package com.zhuyuan.system.mapper;

import com.zhuyuan.database.base.BaseMybatisMapper;
import com.zhuyuan.system.api.domain.SysRole;

import java.util.List;

/**
 * @Author: 张琳凯
 * @Description: TODO
 * @DateTime: 2025/2/17 11:37
 **/
public interface SysRoleMapper extends BaseMybatisMapper<SysRole, SysRoleMapper> {
    List<String> queryRoleIdsByUid(Long id);
    List<SysRole> queryRoles(SysRole sysRole);

    boolean hasSuperAdminByUid(Long id);
}
